import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import "./plugins/element.js";
import ECharts from "echarts";
import VueECharts from "vue-echarts"; //引入 vue-echarts
import "./style/index.css"; // 全局样式

Vue.config.productionTip = false;
Vue.prototype.$echarts = ECharts;
Vue.component("v-chart", VueECharts); //注册组件 vue-echarts

new Vue({
  router,
  render: h => h(App)
}).$mount("#app");
